# $Id: PKGBUILD 157961 2012-04-30 07:30:22Z andrea $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Geoffroy carrier <geoffroy@archlinux.org>

pkgname=bluez-hcidump
pkgver=2.4
pkgrel=1
pkgdesc="Bluetooth HCI package analyzer"
url="http://www.bluez.org/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('bluez')
source=("http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.gz")
md5sums=('d39833de0ed26bddf784e9580b6f33c4')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
